home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Suzy B Software 2
/
Suzy B Software CD-ROM 2 (1994).iso
/
unclcarl
/
newtrsh2
/
newtrash.txt
< prev
next >
Wrap
Text File
|
1995-04-25
|
12KB
|
296 lines
HOW TO RENAME THE GEM TRASHCAN
...and other bits of Desktop Information...
REVISED - 06/03/1992
DISCLAIMER: The author of this text file cannot be responsible for any
damage to your equipment, other software or hardware
products, or physical or mental well being caused by the use, misuse
abuse or inability to use and\or understand this information.
By implementing this information you are agreeing to accept FULL
responsibility for any events arising from your actions, whether based
on this file or not.
If you do not understand these terms or agree with them, DO NOT implement
this information. The author of this text file is in NO WAY recommending
that you implement this information unless your are willing to accept
FULL responsibility.
|-------------------------------| CREDITS |-----------------------------|
What...already ? Well, this text file is based on my own personal
experimentation, as well as various other peoples, who have made bits of
this information available from time to time. This text file is a
compilation of this information.
This text file is FREEWARE ! Feel free to copy and distribute it in
any way that fits.
|-----------------------------------------------------------------------|
I know you're probably reading this so that you can rename the GEM
Trashcan...we'll get to it. There's alot of stuff in this little file
that you may find just as useful, so let's start with line 1 of a
typical DESKTOP.INF file.
DESK ACCESSORY & RS232 CONFIGURATION
------------------------------------
#a000000
This is the first Desk Accessory and the RS232 configuration. Each "0"
represents the first column of buttons on the RS232 Configuration
Dialog Box. The first "0" is column 1, row 1. The second "0" is column
1, row 2 etc... . A value of "1" indicates that a button in the second
column was chosen.
1st - 0=Full Duplex 1=Half Duplex
2nd - 0=9600 bps 1=4800 bps 2=1200 bps 3=300 bps
3rd - 0=No Parity 1=Odd Parity 2=Even Parity
4th - 0=8 Bits\Char 1=7 Bits\Char 2=6 Bits\Char 3=5 Bits\Char
5th - 0=XOFF, RTS\CTS OFF
1=XON, RTS\CTS OFF
2=XOFF, RTS\CTS ON
3=XON, RTS\CTS ON
6th - 0=Strip Bit ON 1=Strip Bit OFF
SET PRINTER CONFIGURATION
-------------------------
#b001000
This works the same way as the RS232 configuration.
1st - 0=Dot Matrix 1=Daisy Wheel
2nd - 0=Black & White 1=Colour
3rd - 0=1280 pixels\line 1=960 pixels\line
4th - 0=Draft quality 1=Final quality
5th - 0=Printer port 1=Modem port
6th - 0=Continuous feed 1=Sheet feed
COLOUR PALETTE
--------------
#c7770000000570070055200505552220770557075055507703111103
This is the colour palette. The colour palette is set using 3 digits
at a time. These represent the red, green and blue values. The last
7 digits deal with the keyboard repeat rate and sensitivity (3111103).
None of these settings will be useful unless the appropriate Control
Panel accessory is loaded.
UNKNOWN
-------
#d
This is allegedly reserved for a fourth accessory, and does nothing
at this point as far as anybody knows.
EXTRAS
------
#E 90 13
This is the Set Preference Dialog and the Mouse double-click rate.
The byte is broken down thusly...
BIT VALUE
--- -----
7 128 - Displays TEXT. If not set it displays ICONS.
6 64 - Sort By Size \
-- Both bits Sort By Type
5 32 - Sort By Date /
4 16 - Confirm Deletes
3 8 - Confirm Copies
2 4 \ All three bits are the double-click rate.
1 2 -- Only values between 0-4 are accepted.
0 1 / 5-7 will turn off the mouse buttons.
If neither bit 5 or 6 is set, the sort is set to "Sort By Name".
The second value is 03 for ST High resolution, 02 for ST medium
resolution and 01 for ST Low resolution. I'm not certain what
what the "1" in front of the "3" above is for (13 instead of 03), but I
think it may have something to do with whether you are using an ST or an
STe. As you may know, the STe has an extended colour palette. This "1"
may be an identifier for the colour palette (This is purely a guess
folks). Remember, STs read this file backwards, from the bottom up.
If anybody knows for sure, let me know.
Also, if you have an STe and are using STE_FIX.PRG, note the following.
If you boot in MEDIUM resolution, you probably won't need STE_FIX.PRG,
AS LONG AS the above line has a 3...
#E 90 13
instead of a 2...
#E 90 12
in your MEDIUM resolution _ONLY_ DESKTOP.INF file.
As you boot up with a colour monitor (ie: SC1224), your STe reads the
DESKTOP.INF file and expects to find either "11" or "12" at the end
of this line. If it finds "12" and you DON'T have STE_FIX.PRG resident,
your computer boots to ST Low resolution (this is the bug in TOS). If
it finds "11" at the end of this line it also boots to low resolution.
For some unknown reason, if you put "13" at the end of this line and
DON'T have STE_FIX.PRG resident, your STe boots to medium resolution.
Go figure...
Remember, when you save a DESKTOP.INF file, the computer will change
the 3 back into a 2 (in medium resolution). You may wish to use an
autobooting program at bootup so that the proper file is copied to
the root directory (assuming you don't want to use STE_FIX.PRG).
WINDOWS
-------
#W 00 07 0A 01 22 0C 08 A:\*.* @
#W 00 00 2C 01 24 0C 08 A:\TEST\*.*@
#W 00 00 0A 0D 22 0A 08 A:\*.INF@
#W 00 00 2C 0D 24 0B 00 @
The above 4 are the window definitions. The first number is horizontal
slider position. The second number is the Vertical slider position.
The third number is the x coordinate of the left hand side of the
window. This must be an even number. An odd number will be rounded down
to an even number. The fourth number is the y coordinate, which takes
single increments. The fifth number is the width of the window. The
sixth number is the height of the window.
The last number indicates the location to which the window will be
opened. A zero or FF will not open a window at bootup. The text at the
end of the line indicates which drive contents will be displayed.
If the drive does not exist, or the display validation is omitted,the
window won't open.
The second window above will display the contents of the folder "TEST".
The third window above will only display files ending in INF as long
as your preferences state to "View As Icons". If you select "View As
Text" then all files will be displayed. The bottom most open window
in the list will be the "active" window.
IMAGES
------
#M 03 07 00 FF J RAM DISK@ @
#M 02 07 00 FF I ISADORA@ @
#M 00 07 00 FF G GWIDEON@ @
#M 01 07 00 FF H HERNE@ @
#M 00 06 00 FF F FRIAR TUCK@ @
#M 00 05 00 FF E EDWARD@ @
#M 00 04 00 FF D DE RAINO@ @
#M 00 01 00 FF A ALBION@ @
#M 00 02 00 FF B BELEF@ @
#M 00 03 00 FF C CAMELOT@ @
These describe the desktop icon attributes. The first two numbers are the
column and row position. The column can be from 00-07, the row 00-03. The
third number determines the Icon Image. The Image numbers work the same
for ALL icons. The available Images are...
00 - Disk drive (drawer).
01 - Folder.
02 - Trashcan.
03 - Executable file (PRG,TTP,TOS,APP).
04 - Text (stack of paper).
You can therefore make the icons on the desktop look like any of the
shapes you like. For example, all of the Icons listed above have the
Image 00 , Disk Drive. If you change the third number on the last line
to 02 , then the Drive C:\ drive icon will look like a trashcan.
It will NOT become a trashcan, it will only look like one. You can
still access it AS a disk drive. ie: Double-clicking on it will open
a window to drive C:\ , even though it looks like a trashcan.
The fourth number doesn't appear to do anything at this time.
The single letter is the drive identifier and the text is the drive
name (remember...NAME...).
The first @ indicates the end of the drive name. The second @ doesn't
appear to do anything, although we can speculate as described below
for the file identifiers. The order in the list determines the visual
hierarchy of the icons, ie: which Icon will appear as the TOP icon when
one icon is dragged on top of another.
TRASHCAN
--------
#T 07 07 02 FF SHREDDER@ @
This is the same as the disk drive. The Trash has no drive identifier,
but you can put one in (for all the good it actually does <smile> ).
Notice the name SHREDDER...remember the NAME...Aha ! Is this what you
were waiting for ? Okay. the name used to be Trash. Simply backspace
over the name TRASH in your DESKTOP.INF file and enter your own name.
Be sure to save the INF file in ASCII format before quitting. You will
need to reboot (or use ShowStuff program) to have the new name
reloaded. You have just renamed your GEM Trashcan.
FILES \ DIRECTORIES
-------------------
#F FF 04 @ *.INF@
#D FF 01 @ *.C@
These two determine which type of file or directory will be displayed,
when displayed as ICONS. The first line will make GEM display only
.INF files when using GEMs SHOW\PRINT\CANCEL option. If you delete
this line, then NO icons will be shown for ANY file, except as
determined below for executable files. The second line does the same
for sub-directories. Only .C folder icons will be shown.
When files are displayed as "Text", all files will be shown. If you
single-click on an undefined file type, the system will reboot. If
you double-click, the name will become highlighted, and your system
will "lock up".
GEM \ FILE \ PARAMETERS
-----------------------
#G 03 FF *.APP@ @
#G 03 FF *.PRG@ @
#F 03 04 *.TOS@ @
#P 03 04 *.TTP@ @
The last four determine the types of files defined as executable images.
Notice that the #G, #F and #P all have two @ symbols. This can be
defined as: the text before the first @ tells GEM this is a definition
for an executable file, while text after the first @ and before the
second @ tells GEM that this is a definition for a SHOWable file
(ASCII or object). Note that if both are specified,
ie: #G 03 04 1ST_WORD.PRG@ *.TXT@
then when you double-click on any .TXT file, the 1ST_WORD.PRG file will
run, and the .TXT file will be taken as a parameter.
The first number indicates the Icon Image for the file before the first
@ , and the second number indicates the Icon Image for the file between
the @'s .
Note that the disk drive definition also has 2 @'s , which would seem
to indicate that the FF is a definition for the text in between the
@'s . Nothing happens, however, when you play with it, so it's real
purpose remains a mystery.
RUNNING PROGRAMS WITHOUT THE .PRG EXTENSION
------------------------------------------
Last, but not least, well... if you backspace over the letters PRG in
the line above,
ie: #G 03 FF *.RUN@ @
then every file ending in the letters RUN will run as a program. Be
warned, any file ending in .PRG will not run unless you rename it so
that it ends in .RUN .
|------------------------------------------------------------------------|
That's it folks...happy hacking !
DESKTOP.INF is (C) Atari Corporation.
GEM is a trademark of Digital Research
Thanks to everyone who contributed over the years to the information
in this file !
Uncle Carl - 06/02/92 - 11:00 p.m. E.D.T.